﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using TicketMaster.Object;

namespace TicketMaster.Web.Models
{
    public class Bus
    {
        public int Id { get; set; }

        public int NumberOfSeat { get; set; }

        public int MerchantId { get; set; }

        public DateTime DepartureTime { get; set; }

        public int Duration { get; set; }

        public Merchant Merchant { get; set; }
        public string MerchantName { get; set; }
        public string StartCityName { get; set; }
        public string EndCityName { get; set; }


        public int RouteId { get; set; }

        public Route Route { get; set; }

        public ICollection<Seat> Seats { get; set; }
    }
}